﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WeaponLibrary;
namespace LogicProgram
{
    public class ProductFactory
    {
        public Weapon.Firearms.Gun CreateGun()
        {
            Weapon.Firearms.Gun product;
            product = new Weapon.Firearms.Gun();
            product.Name ="Strike";
            product.Weight=0.89;
            product.Cost=2600;
            product.Calibr=9.0;
            product.Capacity=18;
            product.Accuracy=0.8;
            product.Rapidity=1.5;
         return product;
        }
        public Weapon.Meleeweapons.Dagger CreateDagger()
        {
            Weapon.Meleeweapons.Dagger product;
            product = new Weapon.Meleeweapons.Dagger();
                product.Name ="Chastener";
                product.Weight=0.1;
                product.Cost=1000;
                product.Length=0.285;
                product.HandCount="One";
                product.DoubleEdged=false;
		    return product;
        }

    }
}
